how to solve day 30 contest in hackerrank

welcome to shbcf.ru